from machine import Pin
import time
from 驱动.debounce import *
from setting import *


button_L = Debounce(BUTTON_L_PIN)
button_OK = Debounce(BUTTON_OK_PIN)
button_C = Debounce(BUTTON_C_PIN)
button_R = Debounce(BUTTON_R_PIN)
 
while True:
    if button_L.is_pressed():
        print("【L】按下")
    if button_OK.is_pressed():
        print("【OK】按下")
    if button_C.is_pressed():
        print("【C】按下")
    if button_R.is_pressed():
        print("【R】按下")
    time.sleep(0.01)


    